/** 导入 */
const dateOptions = new Array(12).fill('').map((item, index) => {
  return {
    label: `${index + 1}月`,
    value: index + 1
  }
})
export const aFormData = {
  month: 1,
  value: ''
}
export const aFormConfig = [
  {
    type: 'select',
    prop: 'month',
    label: '选择月份',
    span: 24,
    options: dateOptions
  },
  {
    type: '',
    prop: 'value',
    label: '工时',
    slotName: 'manHour',
    span: 24
  }
]
export const aFormRules = {
  month: [{ required: true, message: '请选择月份', trigger: 'blur' }],
  value: [{ required: true, message: '请输入工时', trigger: 'blur' }]
}
